package com.yutian.selfservice.search.service.impl;

import com.yutian.selfservice.support.ListService;
import com.yutian.selfservice.search.service.SearchService;
import com.yutian.selfservice.support.utils.Result;
import org.springframework.stereotype.Service;


@Service
public class SearchServiceImpl implements SearchService {
    @Override
    public Result search(ListService listService) {
        return listService.query();
    }

    @Override
    public Result details(ListService listService) {
        return listService.details();
    }
}
